﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
using CommonTagTime.DataAccess;
using CommonTagTime.ModelObject;

namespace CommonTagTime.Business
{
    public class busSlideEffect
    {
        //------------------------------------------------
        //FIELD TABLE
        //------------------------------------------------
        public const string SlideEffectId = "SlideEffectId";
        public const string Code = "Code";
        public const string Name = "Name";
        public const string SortOrder = "SortOrder";
        public const string OrderBy = "OrderBy";
        public const string OrderDirection = "OrderDirection";
        public const string CurrentPage = "CurrentPage";
        public const string PageSize = "PageSize";
        public const string TotalRecords = "TotalRecords";
        public const string Condition = "Condition";
        private daoSlideEffect _objDao;
        //------------------------------------------------
        //PUBLIC
        //------------------------------------------------
        public busSlideEffect()
        {
            _objDao = new daoSlideEffect();
        }
        public SlideEffect GetById(int _SlideEffectId)
        {
            return _objDao.GetById(_SlideEffectId);
        }
        public SlideEffectCollection GetAll()
        {
            return _objDao.GetAll();
        }
    }
}
